<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="VAdvantageSvc" elementFormDefault="qualified" targetNamespace="VAdvantageSvc" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost/advantage55/VAdvantageSvc/DataServiceBasic2.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/VAdvantageSvc" />
  <xs:import schemaLocation="http://localhost/advantage55/VAdvantageSvc/DataServiceBasic2.svc?xsd=xsd3" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <xs:element name="GetDataXML">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="sql" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetDataXMLResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="GetDataXMLResult" nillable="true" type="xs:string" />
        <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/VAdvantageSvc" minOccurs="0" name="ServiceError" nillable="true" type="q1:CustomException" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ExecuteMultipleQueries">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="sqlList" nillable="true" type="q2:ArrayOfstring" />
        <xs:element minOccurs="0" name="trxName" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ExecuteMultipleQueriesResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q3="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="ExecuteMultipleQueriesResult" nillable="true" type="q3:ArrayOfstring" />
        <xs:element xmlns:q4="http://schemas.datacontract.org/2004/07/VAdvantageSvc" minOccurs="0" name="ServiceError" nillable="true" type="q4:CustomException" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ExecuteMultipleDeleteQueries">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q5="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="sqlList" nillable="true" type="q5:ArrayOfstring" />
        <xs:element minOccurs="0" name="trxName" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ExecuteMultipleDeleteQueriesResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q6="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="ExecuteMultipleDeleteQueriesResult" nillable="true" type="q6:ArrayOfint" />
        <xs:element xmlns:q7="http://schemas.datacontract.org/2004/07/VAdvantageSvc" minOccurs="0" name="error" nillable="true" type="q7:CustomException" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeletePOCascade">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="AD_Table_ID" type="xs:int" />
        <xs:element minOccurs="0" name="Record_ID" type="xs:int" />
        <xs:element minOccurs="0" name="trxName" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeletePOCascadeResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q8="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="DeletePOCascadeResult" nillable="true" type="q8:ArrayOfstring" />
        <xs:element xmlns:q9="http://schemas.datacontract.org/2004/07/VAdvantageSvc" minOccurs="0" name="error" nillable="true" type="q9:CustomException" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetAttachmentInfo">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="AD_Attachment_ID" type="xs:int" />
        <xs:element minOccurs="0" name="tableName" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetAttachmentInfoResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q10="http://schemas.datacontract.org/2004/07/VAdvantageSvc" minOccurs="0" name="GetAttachmentInfoResult" nillable="true" type="q10:AttachmentInfo" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SetAttachmenInfo">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q11="http://schemas.datacontract.org/2004/07/VAdvantageSvc" minOccurs="0" name="aInfo" nillable="true" type="q11:AttachmentInfo" />
        <xs:element minOccurs="0" name="AD_Attachment_ID" type="xs:int" />
        <xs:element minOccurs="0" name="tableName" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SetAttachmenInfoResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="SetAttachmenInfoResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SendSms">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="url" nillable="true" type="xs:string" />
        <xs:element xmlns:q12="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="mNumbers" nillable="true" type="q12:ArrayOfstring" />
        <xs:element xmlns:q13="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="mesages" nillable="true" type="q13:ArrayOfstring" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SendSmsResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="SendSmsResult" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UploadAttachment">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q14="http://schemas.datacontract.org/2004/07/VAdvantageSvc" minOccurs="0" name="attachment" nillable="true" type="q14:AttachmentEntry" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UploadAttachmentResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="InitailizeClientSetup">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q15="http://schemas.datacontract.org/2004/07/VAdvantageSvc" minOccurs="0" name="clientSetup" nillable="true" type="q15:ClientSetUp" />
        <xs:element minOccurs="0" name="fileName" nillable="true" type="xs:string" />
        <xs:element xmlns:q16="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="ctxmap" nillable="true" type="q16:ArrayOfKeyValueOfstringstring" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="InitailizeClientSetupResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q17="http://schemas.datacontract.org/2004/07/VAdvantageSvc" minOccurs="0" name="InitailizeClientSetupResult" nillable="true" type="q17:TenantInfo" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SendMYEMail">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="to" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="from" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="Subject" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="msg" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="smtpP" type="xs:int" />
        <xs:element minOccurs="0" name="sl" type="xs:boolean" />
        <xs:element minOccurs="0" name="smtpH" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="requestUser" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="pws" nillable="true" type="xs:string" />
        <xs:element xmlns:q18="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="ctxmap" nillable="true" type="q18:ArrayOfKeyValueOfstringstring" />
        <xs:element minOccurs="0" name="attchment_id" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SendMYEMailResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="SendMYEMailResult" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetDataXMLPaging">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="sql" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="start" type="xs:int" />
        <xs:element minOccurs="0" name="pageSize" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetDataXMLPagingResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="GetDataXMLPagingResult" nillable="true" type="xs:string" />
        <xs:element xmlns:q19="http://schemas.datacontract.org/2004/07/VAdvantageSvc" minOccurs="0" name="ServiceError" nillable="true" type="q19:CustomException" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SendMail">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="to" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="toName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="from" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="fromName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="Subject" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="msg" nillable="true" type="xs:string" />
        <xs:element xmlns:q20="http://schemas.datacontract.org/2004/07/VAdvantageSvc" minOccurs="0" name="user" nillable="true" type="q20:UserInformation" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SendMailResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="SendMailResult" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SendMails">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q21="http://schemas.datacontract.org/2004/07/VAdvantageSvc" minOccurs="0" name="user" nillable="true" type="q21:UserInformation" />
        <xs:element xmlns:q22="http://schemas.datacontract.org/2004/07/VAdvantageSvc" minOccurs="0" name="mails" nillable="true" type="q22:ArrayOfNewMailMessage" />
        <xs:element xmlns:q23="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="values" nillable="true" type="q23:ArrayOfanyType" />
        <xs:element xmlns:q24="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="ctxmap" nillable="true" type="q24:ArrayOfKeyValueOfstringstring" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SendMailsResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="SendMailsResult" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteFiles">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteFilesResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="DeleteFilesResult" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetStandardYouTubeFeed">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="prmFeedIdentifier" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetStandardYouTubeFeedResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q25="http://schemas.datacontract.org/2004/07/VAdvantageSvc" minOccurs="0" name="GetStandardYouTubeFeedResult" nillable="true" type="q25:ModelYTInfo" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetPrivateFeed">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="sIndex" type="xs:int" />
        <xs:element minOccurs="0" name="pSize" type="xs:int" />
        <xs:element minOccurs="0" name="orderby" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="lang" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="search" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="videoRange" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetPrivateFeedResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q26="http://schemas.datacontract.org/2004/07/VAdvantageSvc" minOccurs="0" name="GetPrivateFeedResult" nillable="true" type="q26:ModelYTInfo" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SendWFSms">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q27="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="mNumbers" nillable="true" type="q27:ArrayOfstring" />
        <xs:element minOccurs="0" name="mesages" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SendWFSmsResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="SendWFSmsResult" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SendWFEmail">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="toEMail" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="toName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="subject" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="message" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="attachment" nillable="true" type="xs:base64Binary" />
        <xs:element minOccurs="0" name="isHtml" type="xs:boolean" />
        <xs:element xmlns:q28="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="ctxmap" nillable="true" type="q28:ArrayOfKeyValueOfstringstring" />
        <xs:element minOccurs="0" name="tableName" type="xs:int" />
        <xs:element minOccurs="0" name="recID" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SendWFEmailResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="SendWFEmailResult" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetDataXmlFromExcel">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q29="http://schemas.datacontract.org/2004/07/VAdvantageSvc" minOccurs="0" name="attachment" nillable="true" type="q29:AttachmentEntry" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetDataXmlFromExcelResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="GetDataXmlFromExcelResult" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SendBulkMails">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q30="http://schemas.datacontract.org/2004/07/VAdvantageSvc" minOccurs="0" name="user" nillable="true" type="q30:UserInformation" />
        <xs:element xmlns:q31="http://schemas.datacontract.org/2004/07/VAdvantageSvc" minOccurs="0" name="mails" nillable="true" type="q31:ArrayOfNewMailMessage" />
        <xs:element xmlns:q32="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="ctxmap" nillable="true" type="q32:ArrayOfKeyValueOfstringstring" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SendBulkMailsResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q33="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="SendBulkMailsResult" nillable="true" type="q33:ArrayOfstring" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SetProductQty">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="recordID" type="xs:int" />
        <xs:element minOccurs="0" name="keyColName" nillable="true" type="xs:string" />
        <xs:element xmlns:q34="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="product" nillable="true" type="q34:ArrayOfint" />
        <xs:element xmlns:q35="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="qty" nillable="true" type="q35:ArrayOfdecimal" />
        <xs:element minOccurs="0" name="lineID" type="xs:int" />
        <xs:element xmlns:q36="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="ctxmap" nillable="true" type="q36:ArrayOfKeyValueOfstringstring" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SetProductQtyResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="SetProductQtyResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>